luci-app-statistics: fix APC UPS host configuration
authorJo-Philipp Wich <[email protected]>
Mon, 26 Apr 2021 15:38:48 +0000 (17:38 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 26 Apr 2021 15:41:19 +0000 (17:41 +0200)
commita6efaee0dc8c874d05111900897a318eb59c53b6
tree62239dab0012b74da4355b6da84822e1ee537f18
parentbbc677096d4738c3bbfae37151ed317aa55fb5ec
luci-app-statistics: fix APC UPS host configuration

Ensure that list of hosts is stored as space separated list, like it was
done in the previous Lua implementation.

Fixes: #5010
Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit dd5d96afdba698e11d12880f4adf28e24a140305)
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js